import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import 'vant/lib/index.css'
import axios from 'axios'
import VueAxios from 'vue-axios'
import {ActionBar,ActionBarIcon,ActionBarButton} from 'vant';
// 配置后端接口的统一前缀
axios.defaults.baseURL = 'http://127.0.0.1:8888/api/';
createApp(App).use(store).use(router).use(Vant).use(ActionBar).use(ActionBarIcon).use(ActionBarButton).use(VueAxios, axios).mount('#app')